package com.yhty.model;

/**
 * 每月缴纳模型
 * @author roy
 * 2011-3-27-下午05:30:50
 */
public class PayMent {

	private Long id;//缴费ID
	private Long rent_id;//缴费用户和房屋
	private Pay pay=new Pay();//本月缴纳费用
	private Pay owe=new Pay();//本月缴纳欠费
	private Pay prepare=new Pay();//本月预付
	private Float delay;//缴纳滞纳金
	private String create_date;//缴费时间
	private User user;//收费人员
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getRent_id() {
		return rent_id;
	}
	public void setRent_id(Long rentId) {
		rent_id = rentId;
	}
	public Pay getPay() {
		return pay;
	}
	public void setPay(Pay pay) {
		this.pay = pay;
	}
	public Pay getOwe() {
		return owe;
	}
	public void setOwe(Pay owe) {
		this.owe = owe;
	}
	public Pay getPrepare() {
		return prepare;
	}
	public void setPrepare(Pay prepare) {
		this.prepare = prepare;
	}
	public String getCreate_date() {
		return create_date;
	}
	public void setCreate_date(String createDate) {
		create_date = createDate;
	}
	public Float getDelay() {
		if(delay==null)
			return new Float(0);
		return delay;
	}
	public void setDelay(Float delay) {
		this.delay = delay;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	
}
